<?php 
if($this->images):?>
	<div id="galleriaTest" class="galleryYaron" > 
		<ul class="gallery clearfix" >
			<?php
		     	$baseUrl = $this->baseUrl();
		     	foreach ($this->images as $image):
		     		?>
		     		 <li>
     					<a  rel="prettyPhoto[gallery1]" href="<?php echo $baseUrl.'/images/frames/'.$image->path;?>" 
     						title="<?php echo $image->title;?>" 
     						alt="<?php echo $image->alt;?>" >
     			           	<img title="<?php echo $image->title;?>"
     			            	 alt="<?php echo $image->alt;?>>"
     			            	 src="<?php echo $baseUrl.'/images/frames/'.$image->path;?>"
     			            	 width="150" height="150" />
     			       	</a>
     			      </li>
     				<?php
		     	endforeach;
			?>
		</ul> 
	</div>
	<script type="text/javascript" >
		$(document).ready(function(){
	    	$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square'/*,slideshow:3000, autoplay_slideshow: true*/});
		});
	</script><?php
endif;

	               